- 
		Home
	
 
	- 
Razorpay for WooCommerce
 
- 
4.6.4
 
- 
Code
 
- 
Classes
 
-  Entity 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											30 | 
										
																			
											| Dependencies | 
											3 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											228 | 
										
																			
											| Lines of code | 
											148 | 
										
																			
											| Logical lines of code | 
											70 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											27 | 
										
																			
											| Methods | 
											15 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 15
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| fill() | 
									A  | 
																	50 | 
													7 | 
													35 | 
							
					
				| convertToArray() | 
									S  | 
																	59 | 
													5 | 
													15 | 
							
					
				| buildEntity() | 
									S  | 
																	56 | 
													3 | 
													21 | 
							
					
				| request() | 
									S  | 
																	60 | 
													3 | 
													13 | 
							
					
				| validateIdPresence() | 
									S  | 
																	61 | 
													2 | 
													11 | 
							
					
				| create() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| fetch() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| all() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| getEntityUrl() | 
									S  | 
																	67 | 
													1 | 
													7 | 
							
					
				| snakeCase() | 
									S  | 
																	67 | 
													1 | 
													7 | 
							
					
				| getDefinedEntitiesArray() | 
									S  | 
																	66 | 
													1 | 
													10 | 
							
					
				| getEntityClass() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| getEntity() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| isAssocArray() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| toArray() | 
									S  | 
																	80 | 
													1 | 
													3 |